export const TYPE = [
  {
    value: 'TALKS',
    label: '工程技术洽商单'
  },
  {
    value: 'REVIEWER',
    label: '图纸会审记录'
  }
]
export const columnApprove = [
  {
    title: '序号',
    width: 80,
    scopedSlots: {
      customRender: 'serial'
    }
  },
  {
    title: '审批人',
    dataIndex: 'userName',
    ellipsis: true,
    width: 180
  },
  {
    title: '审批时间',
    dataIndex: 'createTime',
    ellipsis: true,
    width: 180
  },
  {
    title: '节点名称',
    dataIndex: 'taskName',
    ellipsis: true,
    width: 180
  },
  {
    title: '滞留时间',
    dataIndex: 'durationInMillis',
    ellipsis: true,
    width: 140
  },
  {
    title: '审批意见',
    dataIndex: 'formData.opinions',
    scopedSlots: {
      customRender: 'opinions'
    },
    ellipsis: true
  }
]
export const fileInfoVOListColumns = [
  { title: '序号', dataIndex: 'serial', width: 65, scopedSlots: { customRender: 'serial' } },
  { title: '文件名称', dataIndex: 'fileListName', align: 'left', scopedSlots: { customRender: 'fileListName' }, ellipsis: true, width: 500 },
  { title: '文件', dataIndex: 'fileList', align: 'center', scopedSlots: { customRender: 'fileList' } }
]


// 回复信息表头
export const columns = [
  {
    title: '序号',
    width: 80,
    align: 'center',
    customRender: (text, record, index) => {
      return index + 1
    }
  },
  {
    title: '提出人',
    dataIndex: 'approvalUserName',
    scopedSlots: { customRender: 'approvalUserName' }
  },
  {
    title: '修改意见',
    dataIndex: 'opinion'
  },
  {
    title: '回复信息',
    dataIndex: 'opinionReply'
  }
]